home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / jpeg / jpg2dctv.rdm < prev    next >
Text File  |  1991-11-09  |  4KB  |  84 lines

  1. JPEG2DCTV Version 0.5
  2.  
  3. This is a quick and dirty program to decompress JPEG compressed
  4. images into a DCTV display buffer.  It takes about one minute to
  5. decompress a 730 x 482 x 24 bit image to a full DCTV screen
  6. on an Amiga 3000 with 'jpeg2dctv', and about 40 seconds with
  7. 'jpeg2dctv.030'.
  8.  
  9. Usage: jpeg2dctv [-a] [-b] [-d] [-p -127..0] inputfile
  10.   where '-a' changes the aspect ratio of a file with square pixels to
  11.              fit an Amiga screen (i.e., scales 640x480 pic to 640x400);
  12.         '-b' activates cross-block smoothing;
  13.         '-d' deactivates auto-scaling (will create a DCTV image from
  14.              the center of the JPEG file instead); and
  15.         '-p -127..0' will reset the priority of the 'jpeg2dctv' task
  16.              to the negative number you input (default is -10).
  17.  
  18. After the program is finished decoding, you may save the DCTV image
  19. by typing in a filename; 'jpeg2dctv' will save the image and exit.
  20. If you do not want to save the image, just hit return when prompted
  21. to exit 'jpeg2dctv'.
  22.  
  23. The inputfile _must_  be a JPEG compressed image.
  24.  
  25. If you are running 'jpeg2dctv' under 1.3, you _must_ set your stack
  26. size to a minimum of 10000. Otherwise, 'jpeg2dctv' will crash when you
  27. save a full-screen picture.
  28.  
  29. You _must_ install 'dctv.library' and 'ilbm.library' in your LIBS: directory
  30. to use 'jpeg2dctv'.  'dctv.library' and 'ilbm.library' are included in
  31. this archive, along with a test image named (appropriately) 'testimg.jpg'.
  32.  
  33. 'dctv.library' is copyrighted (c) 1991 by Digital Creations, Inc.
  34. 'ilbm.library' is copyrighted (c) 1990 by Jeff Glatt and Dissidents.
  35.  
  36. The JPEG source code used in 'jpeg2dctv' is copyrighted (c) 1991 by
  37. Thomas G. Lane, and is part of the Independent JPEG Group's software.
  38.  
  39. 'jpeg2dctv'and 'jpeg2dctv.030' are copyrighted (c) 1991 by Benjamin Reich.
  40.  
  41. This software is provided AS IS.
  42.  
  43. Updates from v. 0.4:
  44.    - substituted 'ilbm.library' for the EA IFF-ILBM saving code.  The
  45.      result is that you no longer need to change the stack size under
  46.      2.0.  Also, the saving is much faster.
  47.    - added a command line option to change the aspect ratio of a JPEG
  48.      file to better fit an Amiga screen.  Amiga pixels are 1.2 times
  49.      taller than they are wide.  Most JPEG images created on other 
  50.      machines will have square pixels.  The '-a' option removes lines
  51.      from a JPEG file, so that the image will appear square on the
  52.      DCTV screen, instead of looking 1.2 times taller than it is wide.
  53.      Check the effect of the '-a' option on 'testimg.jpg'.
  54.  
  55. Updates from v. 0.3:
  56.    - added ability to save the created DCTV image; and
  57.    - added a command line option to deactivate auto-scaling. Instead,
  58.      'jpeg2dctv' will now take the center 736x482 from the JPEG file,
  59.      and output the center as a DCTV image.  This was added because the
  60.      scaling algorithm is basic, and will cause jaggies if the JPEG
  61.      inputfile is only slightly bigger than 736 horizontally or 482
  62.      vertically.
  63.  
  64. Updates from v. 0.2:
  65.    - will scale down a JPEG file larger than the DCTV display
  66.      to fit on a DCTV screen; and
  67.    - task priority may be set with the '-p' command line switch
  68.      from -127 to 0 (default is -10).  'jpeg2dctv' is processor
  69.      intensive, and a priority of >0 makes my Amiga
  70.      appear to be frozen.
  71.  
  72. Updates from v. 0.1:
  73.    - added proper overscan support;
  74.    - now both 1.3 and 2.0 compatible;
  75.    - screen pops to front when finished decoding; and
  76.    - improved control-c handling
  77.      (will not break until after it is finished decoding).
  78.  
  79. -Benjamin Reich
  80.                    Portal:  Counsellor
  81.                    BIX:     ben_rich
  82.                    Delphi:  BEN_RICH
  83.                    Usenet:  Counsellor@cup.portal.com
  84.